﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using bank.DTOs;
using bank.DataAccess;

public partial class StudentReg_StudentEntry : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btnAdd_Click(object sender, EventArgs e)
    {
        StudentInformation student = new StudentInformation();
        student.RollNo = Int64.Parse(txtRoll.Text);
        student.Name = txtName.Text;
        student.Age = Convert.ToInt32(txtAge.Text);
        Query query = new Query();
        query.AddStudentData(student);
    }
   
}